#!/usr/bin/env bash

# Set Variable
homesh="$HOME/sh"
mkd="/bin/mkdir -p"
readp="read -p"
ec_pr="$0 ERROR: Permission Denied!"
ec_yn="Please Input Y or N."
ec_bb="\033[46;30m"
ec_wr="\033[47;31m"
ec_0="\033[0m]"
ece="/bin/echo -e"

# Copyright
$ece ""$ec_bb"XMX Number Circulator"$ec_0""
echo "Copyright (C) 2008-2017 YuanYuan in BLMF Club"
$ece "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
$ece "This is free software; you are free to change and redistribute it."\n"There is NO WARRANTY, to the extent permitted by law."

# Get Parameters
$readp "Start=" strI
$readp "End=" endI
$readp "Step=" stpI
echo "(1-echo text&number;2-mksh;3-mkdir;4-echo number)"
$readp "Operation=" optI
if [ $optI -eq 1 ]; then
    $readp "Please enter text you want to dispaly: " texI
    $readp "Warp? (Y or N): " wrpI
    $readp "Text of endline: " enlI
fi
if [ $optI -eq 2 ] || [ $optI -eq 3 ]; then
    $ece ""$ec_wr"The script will create shell script or directory in your HOME directory!"$ec_0""
    $ece ""$ec_wr"Enter CTRL+C to stop operation."$ec_0""
